<?php

	session_start();
	require_once('../inc/fnc.php');
	$frenId = $_POST['frenId'];
	$myId = $_POST['myid'];
	
	$res = unfollow($myId, $frenId);
	if($res == "Success"){ $return['type'] = 'true'; } else if ($res == "Fail"){ $return['type'] = 'false'; }
	echo json_encode($return);	
	
?>